Check out my twitter script by CMXads
Sell your soul Believeth in me an hath everlasting life | Viking gear Gear Gifts and Apparel | Till death do us part Axels New Music releases | Goth and Gore Gifts Shop right now or else! |
here are some of the best and useful php scripts and snippets to help in your projects. Php displayed below. Use the search for specific script lookups. Click the category links to view scripts in Javascript and cgi. To add your own script click the link and add your useful script example.
How to count all elements values in an array
count array values keys function
<?php
function array_value_count ($match, $array)
{
$count = 0;
foreach ($array as $key => $value)
{
if ($value == $match)
{
$count++;
}
}
return $count;
}
?>